<?php
$edit = true;
if($edit)
{
	$title = $app['title'];
	$keywords = $app['keywords'];
	$regsettings = $app['regsettings'];
	$reference = $app['reference'];
	$date = $app['date'];
	$author = $app['author'];
	$updated = $app['updated'];
	$notes = $app['notes'];
	$description = $app['description'];
	$isplugin = $app['isplugin'];

	$plugin = $isplugin ? " (Plugin)":"";
}

$header = "Article Creation";

//$is_updated = (!empty($updated)) 
//			? date_format($updated, 'm-d-Y') . " at " . date_format($updated, 'h:i A') 
//			: date_format($date, 'm-d-Y') . " at " . date_format($date, 'h:i A') . "";
//$update_date = "Last Updated: " . $is_updated . " | " . $author;

//$ref = unserialize($reference);
//$ref_count = count($reference);
?>

<body>
	<div id="container">
		<div id="top">
			<h1><?php echo $header; ?></h1>
		</div>
		<div id="leftnav">
			<p>
				Recent Entries:
			</p>
			<div>
				<a href='?id=2'>JRE1.5.0_11</a>
				<a href='http://google.com/'>JRE1.3.8_2</a>
			</div>
		</div>
		<div id="content">
		<?php
		if($step == 1)
		{
		?>
		<form action="?op=create&step=2" method="post">
			<center>Please Enter the Application Name: <br />
			<small><small>(Full Application Name, ex: Internet Explorer 7 or Java Runtime Environment 1.5.0)</small></small><br />
			<input type="text" name="appname" size='50' /><br /><br />
			<input type="submit" value="Submit" /></center>
		</form>
		<?php
		}
		?>